﻿@model DLM.Domain.Model.BonusRule
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>活动详情</title>
    <link href="@Url.Content("~/Content/css/admin/global.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/admin/global.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.18.custom.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
    <script type="text/javascript">
        $(function () {
            $('#add_dialog_link').click(function () {
                $('#add_dialog').dialog({ modal: true }, { width: 680 }, { height: 480 });
            });
        });


    </script>
</head>
<body id="main_body">
    <div class="c1">
        <h1>
            <span>积分扣除规则</span></h1>
        <div class="form_box">
            <div class="validate_area" style="display: none;">
                <h6 class="info">
                    请确保所有表单都已经填完</h6>
                <h6 class="warning">
                    表单验证部分未通过，请填写</h6>
                <h6 class="error">
                    表单验证错误，请重新填写</h6>
                <h6 class="accept">
                    表单验证未通过，请稍后</h6>
            </div>
            <div class="form_area">
                @Html.ValidationSummary()
                @using (Html.BeginForm())
                {
                    <fieldset>
                        <legend>基本信息</legend>
                        <p>
                            <label class="required" for="firstname">
                                暂时扣押:</label><br>
                            @Html.TextBoxFor(m => m.TemporaryDistrain, new { @class = "half" })
                            @Html.ValidationMessageFor(m => m.TemporaryDistrain)
                        </p>
                        <fieldset>
                            <legend>成功参加活动后</legend>
                            <p>
                                <label class="required" for="lastname">
                                    参加者扣除 :</label><br>
                                @Html.TextBoxFor(m => m.Distrain.Engaged, new { @class = "half" })
                                @Html.ValidationMessageFor(m => m.Distrain.Engaged)
                            </p>
                            <p>
                                <label class="required" for="lastname">
                                    发布者获得 :</label><br>
                                @Html.TextBoxFor(m => m.Distrain.publish, new { @class = "half" })
                                @Html.ValidationMessageFor(m => m.Distrain.publish)
                            </p>
                     @*       <p>
                                <label class="required" for="lastname">
                                    网站获得 :</label><br>
                                @Html.TextBoxFor(m => m.Distrain.publish, new { @class = "half" })
                                @Html.ValidationMessageFor(m => m.Distrain.publish)
                            </p>*@
                        </fieldset>
                        <fieldset>
                            <legend>退出活动</legend>
                            <p>
                                <label class="required" for="lastname">
                                    冻结期退出 :</label><br>
                                @Html.TextBoxFor(m => m.Quit.Frozen, new { @class = "half" })
                                @Html.ValidationMessageFor(m => m.Quit.Frozen)
                            </p>
                            <p>
                                <label class="required" for="lastname">
                                    爽约 :</label><br>
                                @Html.TextBoxFor(m => m.Quit.BreakAnAppointment, new { @class = "half" })
                                @Html.ValidationMessageFor(m => m.Quit.BreakAnAppointment)
                            </p>
                        </fieldset>
                        <p>
                            <label class="required" for="lastname">
                                邀请好友 :</label><br>
                            @Html.TextBoxFor(m => m.Friend.Invite, new { @class = "half" })
                            @Html.ValidationMessageFor(m => m.Friend.Invite)
                        </p>
                 @*       <p>
                            <label class="required" for="lastname">
                                网站获得 :</label><br>
                            @Html.TextBoxFor(m => m.Distrain.publish, new { @class = "half" })
                            @Html.ValidationMessageFor(m => m.Distrain.publish)
                        </p>*@
                        <p>
                            <label class="required" for="lastname">
                                活动成功举办 :</label><br>
                            @Html.TextBoxFor(m => m.Party.Success, new { @class = "half" })
                            @Html.ValidationMessageFor(m => m.Party.Success)
                        </p>
                               <p>
                            <label class="required" for="lastname">
                                打招呼 :</label><br>
                            @Html.TextBoxFor(m => m.Salutation, new { @class = "half" })
                            @Html.ValidationMessageFor(m => m.Salutation)
                        </p>
                        <p class="box">
                            
                            <input class="btn" value="修改" type="submit" />
                         </p>
                    </fieldset>
                }
            </div>
        </div>
    </div>
</body>
</html>
